%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
{application, bcrypt, [
    {description, "An Erlang wrapper (NIF or port program) for the OpenBSD password scheme, bcrypt."},
    {vsn, "git"},
    {registered, [bcrypt_sup, bcrypt_port_sup, bcrypt_pool]},
    {mod, {bcrypt_app, []}},
    {applications, [kernel, stdlib, crypto, poolboy]},
    {env, [
        % Default number of 'rounds', defining the hashing complexity
        {default_log_rounds, 12},

        % Mechanism to use 'nif' or 'port'
        {mechanism, nif},

        % Size of port program pool
        {pool_size, 4},

        {nif_pool_size, 4},
        {nif_pool_max_overflow, 10}

    ]},
    {maintainers, ["Hunter Morris", "Mrinal Wadhwa", "ErlangPack"]},
    {licenses, ["MIT"]},
    {links, [{"Github", "https://github.com/erlangpack/bcrypt"}]}
]}.
